package transactionimplementation

import (
	abstracttransaction "salarypayment-case/AbstractTransaction"
	"salarypayment-case/Model"
	"salarypayment-case/modelimplementation"
)


type ChangeDirectTransaction struct {
	abstracttransaction.ChangeMethodTransaction
	itsBank    string
	itsAccount string
}

func (ct *ChangeDirectTransaction) GetMethod() Model.PaymentMethod {
	return modelimplementation.CreateDirectMethod(ct.itsBank,ct.itsAccount)
}
